package com.tarim.streetdance.mapper;

import com.tarim.streetdance.model.CommentStair;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("CommentStairMapper")
public interface CommentStairMapper {
    List<CommentStair> selectByVideoId(CommentStair record);

    int deleteByPrimaryKey(Long id);

    int insert(CommentStair record);

    int insertSelective(CommentStair record);

    CommentStair selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CommentStair record);

    int updateByPrimaryKey(CommentStair record);

    int updateForDelete(CommentStair commentStair);
}